Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Samuel Nonfoopuloden 4.Dec.02 02:18 PM a Web browser
Domino Designer 6.0 Windows NT


I am trying to create a Java agent that will convert an XML SVG graphic into a JPEG and save the JPEG into a notes document.

I have imported the batik classes into the agent and I can successfully use them up to a point. However, the agent eventually fails with this error:

java.lang.NoSuchMethodError: org.w3c.dom.DOMImplementation: method createDocument(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document; not found

at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)

at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)

at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)

at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)

at SaveAsJPEG.createJPEG(SaveAsJPEG.java:26)

at JavaAgent.NotesMain(JavaAgent.java:23)

at lotus.domino.AgentBase.runNotes(Unknown Source)

at lotus.domino.NotesThread.run(NotesThread.java:208)

Having looked at the batik FAQ (http://xml.apache.org/batik/faqs.html), my guess is that Notes is using an older version of the org.w3c.xxx packages somewhere, but I can't figure out where. The only Notes jar file I can see that contains them is XML4J.jar, but I have not added that to my classpath or ini file.

Anyone got any suggestions?

Thanks,

Karl






org.w3c.dom.DOMImplementation (~Samuel Nonfoop... 4.Dec.02)
. . RE: org.w3c.dom.DOMImplementation (~Samuel Nonfoop... 4.Dec.02)
. . RE: org.w3c.dom.DOMImplementation (~Olga Chuluburo... 29.Jan.03)
. . . . RE: org.w3c.dom.DOMImplementation (~Samuel Nonfoop... 29.Jan.03)
. . . . . . Success (~Samuel Nonfoop... 3.Feb.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS